package com.evildog.workspace.system.application.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * <p>
 * Role request body
 * </p>
 *
 * @author evildog
 * @since 2020-07-25
 */
@Data
@Accessors(chain = true)
@ApiModel(value="Role查询参数/request body")
public class RoleEditParam implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "角色名")
    @NotEmpty(message = "角色名不能为空")
    private String name;

    @ApiModelProperty(value = "备注")
    private String remark;


}
